package wiki.liven.pojo.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by qiangjun on 2017/3/2.
 * 点播数据记录,更加全面，在时间在2015年4月22日之后，推荐使用该类
 * 数据从2015年4月22日开始
 */
@TableName(value = "bigdate")
public class ClickData extends Model<ClickData>{

    @TableId
    private String dateId;
    private String macOfUser;
    private String serivceCode;
    private String provider;//供应商
    private String assetName;//节目名称
    private Date rentalTime;//用户点播节目开始时间
    private Date rentalExpireTime;//用户退出观看节目时间,通常无法直接获取，该值都为空
    private String stbModel;//机顶盒版本

    /*运维需要添加的字段信息*/
    private String serviceName;//服务名称
	/*运维需要添加的字段信息*/

    /**历史记录的字段*/
    private String mac;
    private String mr_id;
    private Date timePoint;
    /**历史记录的字段*/

    public Date getTimePoint() {
        return timePoint;
    }

    public void setTimePoint(Date timePoint) {
        this.timePoint = timePoint;
    }

    public String getMr_id() {
        return mr_id;
    }

    public void setMr_id(String mr_id) {
        this.mr_id = mr_id;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getStbModel() {
        return stbModel;
    }

    public void setStbModel(String stbModel) {
        this.stbModel = stbModel;
    }

    public Date getRentalExpireTime() {
        return rentalExpireTime;
    }

    public void setRentalExpireTime(Date rentalExpireTime) {
        this.rentalExpireTime = rentalExpireTime;
    }

    public Date getRentalTime() {
        return rentalTime;
    }

    public void setRentalTime(Date rentalTime) {
        this.rentalTime = rentalTime;
    }

    public String getAssetName() {
        return assetName;
    }

    public void setAssetName(String assetName) {
        this.assetName = assetName;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public String getMacOfUser() {
        return macOfUser;
    }

    public void setMacOfUser(String macOfUser) {
        this.macOfUser = macOfUser;
    }

    public String getDateId() {
        return dateId;
    }

    public void setDateId(String dateId) {
        this.dateId = dateId;
    }

    public String getSerivceCode() {
        return serivceCode;
    }

    public void setSerivceCode(String serivceCode) {
        this.serivceCode = serivceCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.dateId;
    }




}
